An ordinance is a law or rule made by the City government to address local issues on public welfare and safety. Local police or city appointed officers are responsible for enforcing city ordinances.