Fix for callables with error messages

This is a fix that lets the use of callables as in  #3183 using an array with an additional row to set a name for this rule.
Space after `if`, or change it to the following:

    isset($rule_name) && $rule = $rule_name;