No rule for this one
No ending or word group predicts the article of Programm. Learn it as a pair and say it out loud: das Programm.
das Programm
It's das Programm. Programm is neuter, plural die Programme.
Das Programm ist langsam.
The program is slow.
No ending or word group predicts the article of Programm. Learn it as a pair and say it out loud: das Programm.