Difference Between Validations

I want to know the difference between validate() in ActionForm and validation.xml , validator-rules.xml.
In validation.xml we can specify our own validations but in validator-rules.xml we have to follow the rules.
what is need for validate() in actionform