#26 outer rule builder
#26 add initial version of DatabseRuleBuilder
#26 DatabaseRuleBuilder