Rename references to descriptor to rule.
Remove reference to errors in the schema.