Which rule applies in عَلَيْهِمْ وَلَا?

Sākin Mīm Rules and Ghunnah