The Supreme Court ruled Thursday that foreign terrorism suspects held at Guantanamo Bay have rights under the Constitution to challenge their detention in U.S. civilian courts, handing a stinging setback to the Bush administration.