def rule(event):
    if any(
        [
            all(
                [
                    "?dwn=" in event.deep_get("cs-uri-query", default=""),
                    "&fn=" in event.deep_get("cs-uri-query", default=""),
                    ".html?" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
            all(
                [
                    "&dwn=" in event.deep_get("cs-uri-query", default=""),
                    "?fn=" in event.deep_get("cs-uri-query", default=""),
                    ".html?" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
