def rule(event):
    if all(
        [
            "EngineVersion=2." in event.deep_get("Data", default=""),
            not "HostVersion=2." in event.deep_get("Data", default=""),
        ]
    ):
        return True
    return False
