This is exactly why nobody but trained law enforcement needs to be in possession of a firearm at any school.
The school already had a rule prohibiting guns on campus, so how exactly is this an example of the need for a rule, when that rule already existed and was ignored?
Also, what about the process of training law enforcement would have prevented this incident? Does law enforcement have a better vetting process so that mentally unstable people (or people who subsequently become mentally unstable) aren't hired? Or does law enforcement training somehow prevent mentally unstable people from using guns in this manner?
If there is something that great about law enforcement training, can we just take that and apply it to teachers?
Frankly, I don't see any reason this wouldn't have happened if the teacher in question happened to be the armed school resource officer instead of a teacher.
There are reasons why teachers shouldn't be armed, but this story isn't at all relevant to that discussion.