Magento – How to create a new “Input Validation for Store Owner” option for attribute

attributesvalidation

I need to create a bunch of new attributes from my module, and I would like to define custom validation rules for each of the attribute. How can I do it?

edit: Your answers about magento validation in models are Ok – thanks, however I probably didn't emphasize it enough my question is How can I create a new “Input Validation for Store Owner” (this setting is in the attribute configuration panel)