Judge rules in favor of city of Santa Monica on STRs