The courts shall take judicial notice of rules and regulations made and adopted under this subchapter. The rules and regulations shall be considered to be similar in nature to valid penal ordinances of a city.