When people are being rude with you it's likely because they either hate you are they actually like you.
Its human psychology. We tend to be rude to people who we like because we become vulnerable when we are in the company of someone we like. With this venerability comes the fear and fear triggers rude behaviour.
So next time when you meet someone who seem to behaving rude with you and you're thinking god they hate you think again. They might actually like you !
If this behaviour comes from someone who you know is mature enough. Then its mostly because they like you.