This article doesn't give an earliest date for the folding rule, but does show a 17th century example with a brass hinge and alignment pins.
http://taths.org.uk/tools-trades/articl ... ter-s-rule
http://taths.org.uk/tools-trades/articl ... ter-s-rule