enhance rule builder backwards compatibility