No rule for this one
No ending or word group predicts the article of Abteil. Learn it as a pair and say it out loud: das Abteil.
das Abteil
It's das Abteil. Abteil is neuter, plural die Abteile.
Das Abteil ist leer.
The compartment is empty.
No ending or word group predicts the article of Abteil. Learn it as a pair and say it out loud: das Abteil.