#15 added an exemple in the demo on how to register validation rules