No rule for this one
No ending or word group predicts the article of Gleis. Learn it as a pair and say it out loud: das Gleis.
das Gleis
It's das Gleis. Gleis is neuter, plural die Gleise.
Der Zug fährt von Gleis 5.
The train leaves from platform 5.
No ending or word group predicts the article of Gleis. Learn it as a pair and say it out loud: das Gleis.