Thanks for reporting this, indeed the declaration of this level property is not compliant as anyOf is wrongly used here. I will replace it with enum, I created this ticket to track it.
The impact is quite low, as users usually go through the UI to activate/deactivate rules. The only impact is that they wouldn’t get completion when editing the settings file for this particular level property.