Rules modified according to requirement and two methods are added in Item Model