Healthcare ruling cheered and condemned