This moves some of the validation logic for rule groups from the legacy storage layer to the validator.