Implement ruler.