Supreme Court rejects civil-rights challenge of spy court powers