Pruning right now only takes an offset to prune up to. Would it be difficult to have some configuration over what templates can be pruned or retained?
The historic transactions of templates, their provenance, tend to vary quiet a bit so it would be nice if there was more control over the pruning process.