Extended DAO. Moved SchemaRule to main.