All students must obey the rules of the school. If someone has broken the rules must be punished
All students must abide by the school rules. If you break the law must be punished.
All the students must obey the school rules. If anyone breaking the rules will be punished