No rule for this one
No ending or word group predicts the article of Uhr. Learn it as a pair and say it out loud: die Uhr.
die Uhr
It's die Uhr. Uhr is feminine, plural die Uhren.
Es ist acht Uhr.
It's eight o'clock.
Die Uhr ist kaputt.
The watch is broken.
No ending or word group predicts the article of Uhr. Learn it as a pair and say it out loud: die Uhr.