Calculate the greater of two values in Rules?
I guess that you can try this to the 'numeric comparison' rule:



here is the lines used with cck fields field_test1 and field_test2:

 &lt;?php $field1 = $form_state['values']['field_test1'][0]['value']; echo $field1; ?&gt;
 &lt;?php $field1 = $form_state['values']['field_test2'][0]['value']; echo $field2; ?&gt;