Correct the param label from param2 to param3 for rule "matches"Correct the param label from param2 to param3 

EXAMPLE:

rule('password_confirm', 'matches', array(':validation', ':field', 'password')

if not. When the rule is failed it will cause error "password confirm must be the same as password confirm"