gate ruler