In Quality Gate configuration, it is currently possible to create a condition based on the effort to get a specific rating. The aim of this issue is to create a new condition based on the rating itself.
Condition Name: Maintainability rating
Possible values: A / B / C /...
Comparison: ... C < B < A
Note that it will probably have an impact on the Quality Gate widget.