As a parenthetical insertion used to introduce a word or phrase as a correct version of that which precedes the insertion: correctly.
Origin
Early 19th century; earliest use found in Sydney Smith (1771–1845), author and wit. From classical Latin rectē, lit. ‘in a straight line, rightly’ from rectus straight, upright + -ē, suffix forming adverbs.