Transformed Grammophone grammar into unambiguous grammar