ruler (n.) Look up ruler at Dictionary.com
"one who rules," late 14c., agent noun from rule (v.). Meaning "strip used for making straight lines" is c.1400 (see rule (n.)).