Filters rewrite rules used for individual permastructs.
The dynamic portion of the hook name,
$permastructname, refers to the name of the registered permastruct, e.g. ‘post_tag’ (tags), ‘category’ (categories), etc.
(string) Array of rewrite rules generated for the current permastruct, keyed by their regex pattern.