moving redis call if we find any matching rule

moving redis call if we find any matching rule