Changed function names from Rating to WarningLevel