grammar simplifier