Flush tanks shall be provided with overflows discharging to the water closet or urinal connected thereto and shall be sized to prevent flooding the tank at the maximum rate at which the tanks are supplied with water. The opening of the overflow pipe shall be located above the flood level rim of the water closet or urinal or above a secondary overflow in the flush tank.