Fix bug when setting the threshold description of a rule