def rule(event):
    if event.deep_get("TargetObject", default="").endswith("\\mscfile\\shell\\open\\command"):
        return True
    return False
