start ast rewriter