import json


def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 316,
            any(
                [
                    "UNIDRV.DLL, kernelbase.dll, " in json.dumps(event.to_dict()),
                    " 123 " in json.dumps(event.to_dict()),
                    " 1234 " in json.dumps(event.to_dict()),
                    "mimispool" in json.dumps(event.to_dict()),
                ]
            ),
        ]
    ):
        return True
    return False
