def rule(event):
    if any(
        [
            all(
                [
                    "Classes\\ActivatableClasses\\Package\\Microsoft."
                    in event.deep_get("TargetObject", default=""),
                    event.deep_get("TargetObject", default="").endswith("\\DebugPath"),
                ]
            ),
            all(
                [
                    "\\Software\\Microsoft\\Windows\\CurrentVersion\\PackagedAppXDebug\\Microsoft."
                    in event.deep_get("TargetObject", default=""),
                    event.deep_get("TargetObject", default="").endswith("\\(Default)"),
                ]
            ),
        ]
    ):
        return True
    return False
