def rule(event):
    if all(
        [
            "Classes\\." in event.deep_get("TargetObject", default=""),
            event.deep_get("Details", default="") == "exefile",
        ]
    ):
        return True
    return False
