President Trump is hailing the move as a victory as the ruling affects tens of millions of Americans and their healthcare.