A court ruling has set the stage for a trial over whether slots can continue at Gulfstream Park and other Broward County pari-mutuel facilities.