In monasteries, the basic structure of the diet was laid down by the Rule of Saint Benedict in the 7th century and tightened by Pope Benedict XII in 1336, but (as mentioned above) monks were adept at "working around" these rules.