def rule(event):
    if all(
        [
            ":\\ProgramData\\Microsoft\\Windows\\WER\\ReportArchive\\"
            in event.deep_get("TargetFilename", default=""),
            event.deep_get("TargetFilename", default="").endswith("\\Report.wer"),
            not any(
                [
                    "\\ReportArchive\\AppCrash_" in event.deep_get("TargetFilename", default=""),
                    "\\ReportArchive\\AppHang_" in event.deep_get("TargetFilename", default=""),
                    "\\ReportArchive\\Critical_" in event.deep_get("TargetFilename", default=""),
                    "\\ReportArchive\\Kernel_" in event.deep_get("TargetFilename", default=""),
                    "\\ReportArchive\\NonCritical_" in event.deep_get("TargetFilename", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
