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