added better facility to multi lookup in rule constraints