saving grammar now updates parse tree.