Are you trying to use a Rating object in your code, but you can't import it, even after you updated your pom.xml so that Maven would download the controlsfx library JAR files?
I'm afraid the lab directions left out a crucial step...
Before you can import and use org.controlsfx.controls classes in your code, you'll also need to add:
requires org.controlsfx.controls;
to your module-info.java
After that, you should be able to import and use the Rating class in your code.