In a closely watched intellectual property case, the U.S. Supreme Court on Thursday ruled that some computer-related innovations are too abstract to be eligible for patents. But the unanimous decision stopped short of denying patents to all computer software.

The ruling is a rare affirmation by the high court of the U.S. Court of Appeals for the Federal Circuit, which usually finds its rulings reversed by the justices.