Fixed potential NPE
Set rule for ProjectIndexJob