[IMP] add new test for ir.rule
[IMP] add keep_db conf possibility to not delete the db at the end (for debugging for instance)