City writes food truck regulations