allow passing builder to rule