#21 fixed resolving of base directory for rules and reports