My book simply says there is no rule, so it must be memorized which one is used.