def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="").endswith(
                "\\Microsoft\\Windows NT\\Rpc\\ExtErrorInformation"
            ),
            event.deep_get("Details", default="") in ["DWORD (0x00000000)", "DWORD (0x00000002)"],
        ]
    ):
        return True
    return False
