/**
     * Obtains the priority of this rule. It actually is a dynamic priority
     * that depends on the question that was asked.
     * The priority is:
     *  - 100% if the question asked is the same to the background of the rule.
     *  - 50% if the question asked is an ordered subset of the filtered question.
     *  - 0% otherwise.
     * @param questionAsked Question asked by the user, that underwent the filtering process.
     * @return The dynamic priority of the rule.
     */
public int getPriorityLevel(LinkedList<String> questionAsked) {
        // If the filtered question is the same than asked
        if(normalizedQuestion.equals(questionAsked))
            return 100;
        // If it is an ordered subset
        // TODO I'M NOT SURE IF THIS IS WORKING
        else if(isSubset(questionAsked))
            return 65;
        else if(containsWords(questionAsked)>0)
            return 30;
        // Otherwise
        else
            return 0;
    }
public int getPriorityLevel(LinkedList<String> questionAsked) {
// If the filtered question is the same than asked
if(normalizedQuestion.equals(questionAsked))
return 100;
// If it is an ordered subset
// TODO I'M NOT SURE IF THIS IS WORKING
else if(isSubset(questionAsked))
return 65;
else if(containsWords(questionAsked)>0)
return 30;
// Otherwise
else
return 0;
}
public int getPriorityLevel(LinkedList<String> questionAsked) {
// If the filtered question is the same than asked
if(normalizedQuestion.equals(questionAsked))
return 100;
// If it is an ordered subset
// TODO I'M NOT SURE IF THIS IS WORKING
else if(isSubset(questionAsked))
return 65;
else if(containsWords(questionAsked)>0)
return 30;
// Otherwise
else
return 0;
}
public int getPriorityLevel(LinkedList<String> questionAsked) {
// If the filtered question is the same than asked
if(normalizedQuestion.equals(questionAsked))
return 100;
// If it is an ordered subset
// TODO I'M NOT SURE IF THIS IS WORKING
else if(isSubset(questionAsked))
return 65;
else if(containsWords(questionAsked)>0)
return 30;
// Otherwise
else
return 0;
}