I sometimes get the "Yes, Mom" sarcastic thing and it makes me livid. I find replying with the use of profanity immediately takes me out of the "mommy" role. Try "I'm not your f**king mother, but you are f**king rude/idiotic/childish etc." with a look of cold disdain.
"Tell me, what is it you plan to do with your one wild and precious life?" - Mary Oliver