40 rules in db