If that is true, why does the Bill of rights say that its purpose is to restrict the government, and not protect the rights of the citizens
?
THE Conventions of a number of the States, having at the time of their adopting the Constitution, expressed a desire, in order to prevent misconstruction or abuse of its powers, that further declaratory and restrictive clauses should be added: And as extending the ground of public confidence in the Government, will best ensure the beneficent ends of its institution.
The quote you used (”that further declaratory and restrictive clauses should be added”) doesn’t in any way claim that non-citizens are eligible for the same Constitutional rights that citizens are given, such as voting and so forth. Liberals certainly wish they were, however.
Unfortunately for both you and liberals, the Supreme Court (which DOES determine the intent of the Constitution) has ruled numerous times that the Bill of Rights does NOT apply to non-citizens. Illegal aliens don’t have the right to own guns, either. Cry me a river:
http://www.judicialwatch.org/blog/2012/12/court-illegal-aliens-dont-have-2nd-amendment-rights/