iPhone iOS 12.2: music star ratings aren’t saved
I noticed that when I've done this on my iPhone, and then opened the Rate Song... dialog again, right afterwards it too showed 0 stars; however when I looked at the song in iTunes on my Mac it showed the appropriate rating. When I returned to the iOS dialog it was correct as well. So I think it's working. it's just taking a bit for the interface to catch up.