add ruler setting