[common] refactor liValue to share most of the code

 * removing unused "range" value type in angel
[config] fix conditional parsing

  conditional expressions include values to compare with; any
  complicated value expression must be put into parantheses.
  -> stop parsing after a simple value, don't search for operators,
     "and"/"or" operators are handled by the conditional