It's an obscure feature, which perhaps not worth putting an effort to make it work on wayland and x11.
New test infrastructure which supports testing window rules at runtime. Test exposes problem of window rules not able to match window roles in a case insensitive manner. CCBUG: 367554