Added 'less-than' and 'greater-than' rules