def __init__(self, rules):
        self.rules = {}
        for rule in reversed(rules):
            self.register(*rule)
        self.logger = get_logger()
Object for rewriting the request path.
dataset/ETHPy150Open w3c/wptserve/wptserve/server.py/RequestRewriter.__init__