public boolean apply() {
   boolean applied = false;
   if (atLeastOneRuleHasPriority()) {
     this.priorityGraTra = true;
     sortByPriority(this.currentRuleSet);
     applied = applyPriorityGraTra();
     return applied;
   }
   return false;
 }