What key syntactic difference separates ghayr from illā?

Al-Mustathnā: Connected and Disconnected Exceptions, Four Case Rules