A rule validation library to compare and validate 2 values according to the list of cases based on its priority counter