Rescope the toJSON methods in RuleImport
Rename the Message methods