Changed config structure: added rulesets to wrap rules, added locale to message and added some attributes(id, description which are not used yet).