def rule(event):
    if all(
        [
            "\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\TypedPaths\\"
            in event.deep_get("TargetObject", default=""),
            not event.deep_get("Image", default="")
            in ["C:\\Windows\\explorer.exe", "C:\\Windows\\SysWOW64\\explorer.exe"],
        ]
    ):
        return True
    return False
