Substitute matches in prereqs in regex meta-rules.