Supreme Court rejects appeals of five terrorists