Added DataRepository. Fixed typo in FlatRuleProcessor.