evaluate condition rule