[refactor] move ValueUtilities.condition to ConditionUtil and use ModelUtil for ValueUtilities
[fix] support also conditions without '?' at the end