def METHOD_NAME(self, task, config):
    urlrewriting = plugin.get('urlrewriting', self)
    for disable in config:
        logger.debug('Enabling url rewriter {}', disable)
        try:
            urlrewriting.disabled_rewriters.remove(disable)
        except ValueError:
            logger.debug('{} does not exists', disable)