add Rewritter::Helper module to provide common helper methods