I frequently used album ratings in iTunes in the past, but it seems in iTunes 12.2, these ratings have been replaced by the heart for Apple Music. In list view an option for 'Album Rating' is still available but uneditable, while in grid view, which I prefer there is no visible rating for either the songs or albums. Is there any way to bring the ratings back??
Yes. Open iTunes. Click on "iTunes" in the upper left and go down to Preferences. Under the "General" tab, you can choose ratings to be "Loves," "Stars," or "Loves and Stars."