add GrammarLine class with pattern
add grammar
add grammar