Rule #1: obey the law. Would have prevented this tragedy.
Nobody can obey all laws all the time. It is impossible.