complete _generateReadOptions; fix rule.type; fix validators and setters;