Update Ruler.php

fixed