regression tests (and ruleutils bugfix)