To adopt and enforce all necessary rules and for the management and government of the public schools of their district.