Cattle rail and timber box assembly