ref
right + -ly
rightly (adv.)
Old English rihtlice "justly, virtuously; properly, regularly, correctly, truly, accurately;" see right (adj.1) + -ly (2).