Rule Engine working and integrated