adds better error message if ruleset file is invalid