If you disagree with the judge's ruling, you can seek reconsideration, or you can appeal. There may be a provision to seek leave to appeal while the case remains pending, or you may need to (or opt to) wait until the trial proceedings are over. As appeals can be very technical, it makes sense to discuss your situation with a local lawyer who handles appeals, and to do so before any time period for an interlocutory appeal (an attempt to appeal before the end of the case) expires.