Improve ProgressMonitor and actually execute Java EE rules in the right ...

...phase.