Rating model for level analysis and optimization in ISO 9000 systems