No rule for this one
No ending or word group predicts the article of Party. Learn it as a pair and say it out loud: die Party.
die Party
It's die Party. Party is feminine, plural die Partys.
Am Samstag ist eine Party.
On Saturday there is a party.
No ending or word group predicts the article of Party. Learn it as a pair and say it out loud: die Party.