Being a foreigner here, I've had my fair share of encounters with rude bosses. Oh, I tell you, I could have easily took quick revenge, and have done something worst on such occasions, but I've learned valuable lessons along the way in how to treat the type whenever I have the chance (plus the mood to fight in my own style). I do a lot of part-time jobs. As such, I see them around most probably because I've lived in a big city like New York for years now - and I've thought one time or another, that probably because I may unwittingly be attracting them into my sphere of attention.
But I've since learned that there are great ways of dealing with them. You can't actually run away from them, as the best way is to be prepared for them to be always around, even in the most unexpected situations.
Some tactics I've formulated have worked most effectively depending on the situation, and I've learned, too, to switch tactics in between situations. Switch even, while you're being treated rudely by some bosses, and you'll get better results. Combine some of the tactics. Here are some tips to help you out, which you may want to fit according to your situation:
1) Speak up - tell them directly that they're being rude to you. They will be able to hear you somehow, as they go about doing their own business, as they're usually so full of themselves. But you need to have them hear you speak up, in your own unique voice, by just telling them exactly how you feel about their rudeness.
2) Ignore them - some rude bosses don't actually even deserve your valuable attention, or worst, your precious time. Just keep on doing your own business, and ignore them. Keep having fun; enjoy the moment; forget the awful rude moment with such persons.
3) Get angry - just like giving them what they exactly deserve. Treat them the way they treat you, and you'll see results right away. I've done this once to a very rude Manager (I won't reveal her nationality - suffice it to say that she's also from Asia) of mine, who's so annoyed (with herself, probably) she could not explain herself very clearly to me. She was trying to make me feel bad about myself for not being able to understand her point. I got angry at her - and she understood. However, one way of doing this is to completely mock them in your own way; laugh at them in your most insulting manner such that they'll be confounded by the whole situation that they've found themselves with you.
4) Treat them kindly - as in, wear your best smile, and pay attention to what exactly they're telling you, so that you'll be in for something positively unexpected. Don't say much, or even don't say anything at all. Just keep your calm. Take a deep breathe, and say a brief prayer. Think quickly, and then follow how exactly your heart tells you - in the end, you'll feel gratified that you've done what you wanted to do, and not how these rude people might have been wanting you to behave.
5) Believe that some people won't change, so there's really no hope in ever changing, or modifying them - some of them are aged, or those who believe they're privileged or entitled to something, or disabled, or just plain sick. They're miserable, so the best way is just to move on. You won't certainly like to be in their shoes, in any which way you can ever imagine.
6) Say a prayer for them - just like giving them a swish of a magical potion. A prayer can be something like what comes out of your mind - some may blurt out something like actually saying "I'd wish you'd be taken by the good Lord quick, as in now" - but then, that could very well be a death wish for someone. You don't want that for yourself, too. Just be careful, too, with the prayers you'd say on occasions. They do happen, in God's most perfect timing.
Then when you're alone, take time to ponder, analyze the nitty-gritty details of the situation, and write down your thoughts. Visualize with complete details what you would have done ideally, as to how you would behave the next time. List down promises that you'll do the next time a situation with a rude boss comes into show, so that you'll do better each time. Take action, the next time an encounter with a rude boss comes along your way.