change Rules.minFood to Rules.Food.min