Traffic Rules: How to allow ports for certain domains

I want to only allow port 853 for quad9 and allow WhatsApp port only for it.

Google Openwrt/dnsmasq/ipsets/firewall

Any way to do it in LuCI?

Likely not since it lacks ipset configuration support for the firewall.