Optimizations is a static class used to convert the parse tree produced by the Gold parser engine (that is Gold parser reductions and Gold parser tokens) to a structure called the Unfold, which is in effect an in-memory database.
static bool DoScripture(DescribeUnfold u, Reduction r, bool isPrimary = true)