ngs.routing.rules.filter(r => r.inboundTag && r.inboundTag[0] == this.reverseData[index].tag);
        } else {
          oldRules = this.templateSettings.routing.rules.filter(r => r.outboundTag && r.outboundTag == this.reverseData[index].tag);
        }
        reverseModal.show({
          title: '{{ i18n "pages.xray.outbound.editReverse"}} ' + (index + 1),
          reverse: this.reverseData[index],
          rules: oldRules,
          confirm: (reverse, rules) => {
            reverseModal.loading();
  