}
// adding rules
for (String tmpClassName : classNames) {
Class check = Class.forName(packageName + "." + tmpClassName);
ICheck addrule = (ICheck) check.newInstance();
addrule.setName(name);
addrule.setSeverity(severity);
comparator.add(addrule);
}
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block