private BiConsumer<ContentTemplates, DependencyRemapper> createMapper() {
        return (doc, dependencyRemapper) -> {
            final List<ContentTemplate> templates = doc.getContentTemplates();
            if (NullSafe.hasItems(templates)) {
                templates.forEach(receiveDataRule -> {
                    if (receiveDataRule.getExpression() != null) {
                        dependencyRemapper.remapExpression(receiveDataRule.getExpression());
                    }
                });
            }
        };
    }
A bit of a special store that only ever holds one doc with a hard coded name.
stroom-core/src/main/java/stroom/core/receive/ContentTemplateStoreImpl.java