enhance rule builder to support map fields