tuned rules, added error listener to exec.ts