Fixes issue with building rules that take an array as parameter