The directors of all schools shall enforce the provisions of section 287.1 and shall have full power and authority to make, adopt, and modify all rules and regulations which, in their judgment and discretion, may be necessary for the proper governing of such schools and enforcing all the provisions of section 287.1.