Rearing cattle in the context of farm sustainability