What are A B C S and SS items?

New to the game. Can someone explain this? Is it the quality of the item ranking from SS being the best and C being the worst?