Prepared to rewrite parser using assigned grammar