def rule(event):
    if all(
        [
            any(
                [
                    "..%2f" in event.deep_get("cs-uri-query", default=""),
                    all(
                        [
                            "..%2f" in event.deep_get("cs-uri-query", default=""),
                            "apply_abstract.cgi" in event.deep_get("cs-uri-query", default=""),
                        ]
                    ),
                ]
            ),
            any(
                [
                    "/images/" in event.deep_get("cs-uri-query", default=""),
                    "/js/" in event.deep_get("cs-uri-query", default=""),
                    "/css/" in event.deep_get("cs-uri-query", default=""),
                    "/setup_top_login.htm" in event.deep_get("cs-uri-query", default=""),
                    "/login.html" in event.deep_get("cs-uri-query", default=""),
                    "/loginerror.html" in event.deep_get("cs-uri-query", default=""),
                    "/loginexclude.html" in event.deep_get("cs-uri-query", default=""),
                    "/loginlock.html" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
