def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") in [56, 50],
            event.deep_get("Provider_Name", default="") == "TermDD",
        ]
    ):
        return True
    return False
