cash delivery DOF rules - sample impl