The Law of the Earth requires food to be grown as near as possible to where it's eaten. Every household should have its own garden, or be within walking distance of a shared one, and farms may not be designed as monocrops. (Title 3: Agriculture.) Every person has the Right to Draw Sustenance: to plant, harvest, and store enough food for their family, and to forage.
The Blueprint shows how: permaculture and food forests, villages where everyone takes part in growing food at least a little, and a diet your great-great-grandmother would recognize. (Heal Yourself.)
Factory farming is incompatible with the Law. Animals have the right to freedom from deliberate and unnecessary suffering, and from any suffering that wouldn't occur in the wild. (Title 2: Animal Rights.) The rule on eating animals is simple: you may if you need to, but you have to try not to. And how a society treats those under its power, animals most of all, determines how it deserves to be treated by those whose power it's under.