private static string EvaluateStringFormulas(string formula, DataRuleContext dataRuleContext) { var formulaParser = new FormulaParser(); return(formulaParser.Populate(formula, new ValueProviderBridge(dataRuleContext.ValueProvider))); }