A Superior Court judge ruled that the county must give voters a chance to weigh in on an election reform measure that would boost Democrats’ chances of winning county races.