Supreme Court rejects prayer appeal