Fix rules with commandData

This makes it actually get the right rule...