added AST-rewriting macro sample.