Work on hetro rules agent