def rule(event):
    if all(
        [
            any(
                [
                    "/cgi-bin/.%2e/" in event.deep_get("cs-uri-query", default=""),
                    "/icons/.%2e/" in event.deep_get("cs-uri-query", default=""),
                    "/cgi-bin/.%%32%65/" in event.deep_get("cs-uri-query", default=""),
                    "/icons/.%%32%65/" in event.deep_get("cs-uri-query", default=""),
                    "/cgi-bin/.%%%25%33" in event.deep_get("cs-uri-query", default=""),
                    "/icons/.%%%25%33" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
            event.deep_get("sc-status", default="") in [200, 301],
        ]
    ):
        return True
    return False
