Sketching data type for highlighting rules