optimize rules
optimized parser
implemented 'next' stmt.