Rancid food in a dream is a warning to guard your health by avoiding excesses in food, drink or whatever you're inclined to do to excess.