So, the way I understand it, they struck down the individual mandate, re-defined it as a tax, and upheld that.
So ... in effect, they re-wrote the largely vague law right there in the courtroom and upheld a law that was never passed. The word "tax" appears nowhere in the law, and the Administration and its party explicitly denied it was a tax (otherwise it wouldn't have passed) ... until it was challenged in court (which stunned Nancy "Are you serious?" Pelosi) when it suddenly "became" a tax after it was passed. Hence, we apparently really do have to pass a law to find out what's in it.
That is not the way it's supposed to work. Next step, repeal!