working on sop rule and apply it to form processor