evaluate rule conditions