Drawing up a diet with the use of basic rules