Adds ruler