The 1st District Court of Appeal on Thursday rejected a 2009 gambling measure that could have helped lead to additional card rooms in Palm Beach and Volusia counties, saying its narrowness made it an unconstitutional “special” law.

The change, which was included in a broader gambling bill, dealt with converting permits for jai-alai frontons to permits for greyhound racing. It included conditions, however, that the appeals court said made it only apply to Palm Beach and Volusia, though it might apply to Marion County in the future.