I think it depends on the rule. Some rules, like not running in the hallways, are reasonable and most students understand them. But other rules, like strict dress codes, might seem unnecessary. Younger kids might not care much, but teenagers usually complain more. If teachers explain the reasons for the rules, students might accept them more easily. Fun rules, like having a sports day, are usually popular with everyone.