public function decode($hierarchy, array $configuration = [])
    {
        $escapedHierarchy = HierarchyTool::substituteSlashes($hierarchy);

        $escapedHierarchy = substr($escapedHierarchy, 1);
        $escapedHierarchy = rtrim($escapedHierarchy, '/');
        $hierarchyItems = explode(self::DELIMITER, $escapedHierarchy);
        $filterContent = (count($hierarchyItems) - 1) . '-' . $escapedHierarchy . '/';

        $filterContent = HierarchyTool::unSubstituteSlashes($filterContent);

        return '"' . str_replace("\\", "\\\\", $filterContent) . '"';
    }