make it ILLEGAL for the government to ever rise up against its own people
Linguistically speaking, I think this concept is paradoxical. The government can't "rise up" as it's already "over" The People. Since the government is in power, as long as they don't violate their own rules, whatever they do is, by definition, legal...which conveniently includes changing their own rules.
Your example is one cop pepper-spraying somebody for a bad reason? You can't "punish The Government" for that...find who's responsible for telling him to do whatever and punish *that* person, or else just punish the cop if it was his own initiative. Obviously the system is stacked to prevent that from happening, unless They decide to throw somebody to the wolves, though.
Not that I'm disagreeing with your underlying emotion. Those in power abusing said power is always a problem.