changed rewrite module type

The extraction of the rewrite module to a different repo made this change necessary.