(a) It is the intent of this division to permit certain uses in residential zoning districts which involve the keeping of limited numbers of domestic animals or pets where it is recognized that such areas are changing from agricultural to suburban residential in character. (b) This division is further intended to minimize problems which may arise from such animal uses and to provide suitable standards for protection of health, safety, welfare and preservation of residential zoning districts from indiscriminate raising of animals. (c) These restrictions apply to districts R-1, R-2 and R-3 and shall be subject to all state and local health codes.