def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\spoolsv.exe"),
            any(
                [
                    "\\Windows\\System32\\spool\\drivers\\x64\\3\\"
                    in event.deep_get("ImageLoaded", default=""),
                    "\\Windows\\System32\\spool\\drivers\\x64\\4\\"
                    in event.deep_get("ImageLoaded", default=""),
                ]
            ),
            event.deep_get("ImageLoaded", default="").endswith(".dll"),
        ]
    ):
        return True
    return False
