Automatic merge from submit-queue (batch tested with PRs 46726, 41912, 46695, 46034, 46551) Fix validation of Rule.Resouces