If someone is being unecessarily rude, i will tend to be a bit blunt back to them while also being nice to get the point across. As soon as they start swearing, it is the end of the conversation.
There is no excuse for being rude no matter what the situation.
Oz