A US District court in Detroit has granted preliminary approval of the healthcare settlement agreement between General Motors, the United Auto Workers union and the class representatives.