tested loading of facts and rules from database. it be working.