Added a ConstantCondition type to build conditions without much ifelse type thing