The board shall prescribe sanitary rules as it deems necessary, with reference to the precautions necessary to be employed to prevent the creating and spreading of infectious and contagious diseases.