Update rewriter.rb