Adding support for lexical rules