I also have no easy solution and having separate rules per WAN-interface would be really great for this use-case.
But how are your Python skills? Based on the availability of the primary link, you could change the L7 firewall rules with the Dashboard-API.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.