def apply_rules(page, response=None):
    "Applies all rules"
    if response != None:
        response = {}
    for rule in RULESET:
        response = rule(page, response)

    return response
dataset/ETHPy150Open treeio/treeio/treeio/core/ajax/rules.py/apply_rules/operator `is` -> `!=`