minor bug fix to reassign the vals of chans, workers in recursive call and test chaining more than 1 rule