public static Optional<String> getRuleName(final String rulePath) {
        Pattern pattern = Pattern.compile(getRuleNameNode() + "/(\\w+)" + ACTIVE_VERSION_SUFFIX, Pattern.CASE_INSENSITIVE);
        Matcher matcher = pattern.matcher(rulePath);
        return matcher.find() ? Optional.of(matcher.group(1)) : Optional.empty();
    }
@Test
    void assertGetRuleNameWhenNotFound() {
        Optional<String> actual = GlobalNodePath.getRuleName("/invalid/transaction/active_version");
        assertFalse(actual.isPresent());
    }