def __init__(self, rules):
        self.rules = {}
        for rule in reversed(rules):
            self.register(*rule)
        self.logger = get_logger()
Rebuilds structure for AST and resets internal data.
dataset/ETHPy150Open w3c/wptserve/wptserve/server.py/RequestRewriter.__init__--crossover with--dataset/ETHPy150Open xtrementl/focus/focus/parser/parser.py/SettingParser._reset