improved grammar dev tools
grammar: added basic rules and simple selectors