Implementation of Livestock Rules