def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\mmc.exe"),
            "WF.msc" in event.deep_get("ParentCommandLine", default=""),
            not event.deep_get("Image", default="").endswith("\\WerFault.exe"),
        ]
    ):
        return True
    return False
