adeed 'add' rule and flow method. To encode, transform and add methods origin obejct is passsed now