Most of the provisions of this proposed law are non-starters from a legal perspective, and it really doesn't take much imagination to place pretty much any one of us in the position of having committed a felony.
You're out bar hopping with a half a dozen friends or co-workers and one of you gets overserved and smashes up the bathroom or another patron. You had nothing to do with the destruction or violence, but you're part of the "assembly". Have a felony. You're part of a genuinely peaceful protest, but the police decide to clear the area by lobbing gas canisters into the crowd. (It happens.) You toss or kick the canister away and it lands near some police. Enjoy your six months in jail. And while making "assaulting a police officer" a felony may sound like a reasonable idea, I have seen individuals charged with "assaulting a police officer" for doing nothing more than instinctively trying to shrug off someone (who turned out to be a cop) who grabbed them from behind, or attempting to push away an officer who was kneeling over them with a knee in their groin.
On the other hand, it might provide a reasonable defense against a charge of hit and run if the "mob" you're running from is composed of the family and neighbors of the kid you just drove over.
And yes, such a law could be written so as to eliminate any or all of those eventualities...but it won't be.