rt_lookup inside a filter