Fix pep8
Grouped fields in quality rating system