No rule for this one
No ending or word group predicts the article of Hut. Learn it as a pair and say it out loud: der Hut.
der Hut
It's der Hut. Hut is masculine, plural die Hüte.
Der Hut steht dir gut.
The hat suits you.
No ending or word group predicts the article of Hut. Learn it as a pair and say it out loud: der Hut.