Dad needs to remind her that is rude.
And also, does she view it as you are competition with her for attention from Dad? is that a dynamic that is set up? (not sure how, but think about it.. perhaps you say "hey, husband, let's go sit on the porch with this wine I opened and he says no, can't playing with DD"? Then you two are competing for his attention - and she might feel that if she gets it she wins?
So discuss that with your husband, wonder together about what dynamic might be set up or if she is just a really competitive child and is pitting herself against you... some kids are just more competitive than others.