static String getActiveRuleNameFromRequest(HttpHeaders headers) {
		if (headers != null && headers.containsKey(HeaderConstant.INTERNAL_ACTIVE_RULE_NAME)) {
			Collection<String> values = headers.get(HeaderConstant.INTERNAL_ACTIVE_RULE_NAME);
			if (CollectionUtils.isNotEmpty(values)) {
				String decodedActiveRuleName = "";
				try {
					decodedActiveRuleName = URLDecoder.decode(new ArrayList<>(values).get(0), UTF_8);
				}
				catch (UnsupportedEncodingException e) {
					LOG.error("Cannot decode {} from header internal-callee-activerule.",
							headers.get(HeaderConstant.INTERNAL_ACTIVE_RULE_NAME).get(0), e);
				}
				return com.tencent.polaris.api.utils.StringUtils.defaultString(decodedActiveRuleName);
			}
		}
		return "";
	}
@Test
	public void testGetActiveRuleNameFromRequest() throws UnsupportedEncodingException {

		HttpHeaders headers = new HttpHeaders();
		String ruleName = PolarisEnhancedPluginUtils.getActiveRuleNameFromRequest(headers);
		assertThat(ruleName).isEqualTo("");

		String encodedRuleName = URLEncoder.encode("mock_rule", UTF_8);
		headers.set(HeaderConstant.INTERNAL_ACTIVE_RULE_NAME, encodedRuleName);
		ruleName = PolarisEnhancedPluginUtils.getActiveRuleNameFromRequest(headers);
		assertThat(ruleName).isEqualTo("mock_rule");
	}