Function that verify if the rule is respected or not.
bool isRuleRespected(String password) => computeRuleScore(password) >= minimumScore;