def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="").endswith("\\open\\command\\DelegateExecute"),
            event.deep_get("Details", default="") == "(Empty)",
        ]
    ):
        return True
    return False
