fix RewritePlugin initialization

Error was introduced in 6d68a48
Merge pull request #73 from jhawthorn/rewrite_fix

fix RewritePlugin initialization