No rule for this one
No ending or word group predicts the article of Rock. Learn it as a pair and say it out loud: der Rock.
der Rock
It's der Rock. Rock is masculine, plural die Röcke.
Der Rock ist zu kurz.
The skirt is too short.
No ending or word group predicts the article of Rock. Learn it as a pair and say it out loud: der Rock.