Added support for multiple lookaheads in DottedRules