a rule is for measuring length