use addons framework to create rewriters