public function setRuleMessage(string $name, string $message)
    {
        $this->messages['rules'][$name] = $message;
        return $this;
    }
public function setRuleMessage(string $name, string $message)
    {
        $this->messages['rules'][$name] = $message;
        return $this;
    }
public function setRuleMessage ( string $ name , string $ message ) { $ this -> messages [ 'rules' ] [ $ name ] = $ message ; return $ this ; }
Set the message for the rule with the given name.

@param string $name
@param string $message
@return \MadeSimple\Validator\Validator
Set the message for the rule with the given name .