Rule queries.