Accessory buildings, including detached garages, pool houses, barns, greenhouses, and tool sheds, shall be permitted anywhere in the side or rear yard of any lot in a residential zoning district if they:
(a) Conform to the required rear yard and side yard requirements;
(b) Occupy 25% or less of the area of such yard(s); and
(c) Are no taller than 15 feet in height or a height equal to 1/2 the distance to the nearest lot line, to a maximum of 22 feet.