Visualization for grammar graphs added.
Todot for grammars updated.
Filtering code moved to GrammarBuilder. Bugs fiexed.