In a move that will affect the whole taxi industry, a judge has ruled Uber must make contracts with its customers.