In a unanimous decision, the Kentucky Supreme Court on Thursday ruled that some historical horseracing machines operated by racetracks do not qualify as pari-mutuel and the Kentucky Horse Racing Commission exceeded its authority in approving the terminals.