California judge rules on Uber and Lyft business practices