There are only a few rules. Most people suggest 5 is a good number. One simply says that students will abide by the policies and procedures of the school and obey the laws. Another one might deal with coming to class with materials and being prepared to learn. Once rules are established, clear an simple consequences must be explained to students.
Consequences usually start with simple deprivations, e.g., demerit.
Increase gradually to calling parents, sending to office, etc. You cannot break the law. Be certain that your consequences comply with the law regarding special education students, especially. Obviously, you cannot do anything that might harm students physically or emotionally. Ask for advice from other teachers or the principal.