importRulesetXML and generateRulesetXML now throw proper errors back to the AJAX call from terify.js. The errorText is shown as an alert.