Minor fix in getUnequalities and setUnequalities in class 'rules'.