def apply_rules(page, response=None):
    if response is None:
        response = {}
    for rule in RULESET:
        response = rule(page, response)

    return response
Applies all rules
dataset/ETHPy150Open treeio/treeio/treeio/core/ajax/rules.py/apply_rules