* If you're talking about a person who rules, the abstract noun is rule.
* If you're talking about a tool for measuring, the abstract noun is measurement.
So, depending on the context, the abstract noun for "ruler" could be either rule or measurement.