gt, lt, gte and lte

Summary:
Add in most of the necessary conditions. Still missing equivalence, but
that will work for more then just LVAL_NUM.