Grammar inheritance for all transformations