Fixes #3179 : correct the Rule Grid to display error when Rules have invalid targets