def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 5379,
            "Microsoft_Windows_Shell_ZipFolder:filename"
            in event.deep_get("TargetName", default=""),
            any(
                [
                    "invoice" in event.deep_get("TargetName", default=""),
                    "new order" in event.deep_get("TargetName", default=""),
                    "rechnung" in event.deep_get("TargetName", default=""),
                    "factura" in event.deep_get("TargetName", default=""),
                    "delivery" in event.deep_get("TargetName", default=""),
                    "purchase" in event.deep_get("TargetName", default=""),
                    "order" in event.deep_get("TargetName", default=""),
                    "payment" in event.deep_get("TargetName", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
