def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\JSESPR.dll"),
            not event.deep_get("ImageLoaded", default="").startswith(
                "C:\\Program Files\\Common Files\\Justsystem\\JsSchHlp\\"
            ),
        ]
    ):
        return True
    return False
