Documentation for rule lexical scope