WyRL: working on restructuring the way that AbstractRewriter works.