Can I make rules to specific user agents?

Can I add a rule to block a website in a specific browser, but allow in another browser? i.e. allow one website in Chrome, but block it in Firefox.

I would have thought this would be easy at the http level in Gateway, but I don’t see a way of detecting the useragent string?