Answer filling by AST rewriting.