Add ruler setting.

Unreviewed.