initial implementation for rule conditions