Former Mayor John Cook restricted from city lobbying