added IFlockBefore.before to prepare the rule before each iteration and optionally skip the iteration