-rect- comes from Latin, where it has the meaning "guide;

rule;

right;

straight.'' This meaning is found in such words as: correct, direct, erect, indirect, insurrection, misdirect, rectangle, rectify, rectitude, rector, rectum, resurrection .