Update Ruler.php