. . . "The ruling, which was filed Tuesday, could require Long Beach and other cities, including Los Angeles, to rewrite their medical marijuana ordinances, a process that has been fraught with delay and chaos." .