Fixed a bug that request is delivered to more than the first rule.