Doesn't help you solve it, quite the opposite. Don't get me wrong, your country, your laws, do what's best for you, I can only tell you what I think and you can take it or leave it. I personally think it (any form of segregation) is not right and is an impediment to progress.

But in the end, class divides that inevitably come with capitalism/free markets, well that's something you're going to be seeing much more of as you emerge from the developing into the developed world. And gated communities, everything in the hands of two percent, and places you can't go and things you can't be get demarcated in a much more brutal manner with a much bigger brush. This is how it is in the west, and everywhere else too.