ENH: add rulers, convert annotation rulers

Add logic methods to add ruler node, add rulers to the
active ruler node, convert annotation rulers to markups
rulers.
Added testing.

Issue #3367