WAF - combined rule

I want to create one rule with multiple parameters, but I can’t understand the logic behind how WAF works: OR, AND…

I need:

  1. All requests from RU are blocked, except for requests from user-agent Admin111 containing any URI.
  2. All requests from RU are blocked, except for requests containing the /yandex.zen URI, containing any user-agent.
  3. All requests from RU are blocked, except for requests containing the /yandex.zen/ URI, containing any user-agent.
    Can this be combined into one rule?

3 posts were merged into an existing topic: WAF - Why was the Google-bot blocked?