SONAR-4193 Improve modal rule window layout