Judge Eric Dahlin ruled against several significant legal challenges to the prospective measure, which seeks to divert money from Portland's cash-rich clean energy fund to hire more police officers.