Indeed, protecting the rights of all against the intrusions and discriminations of the government is really what the BoR is about.
And by the 10th amendment, states are not prohibited from making other laws--so long as they do not violate the rights of the people, to, say, own a business, choose whom to do business with, and so on.