Test getAllRules method
Fix bad argument
test createElement method
Test OptionalField methods
bugfix : use Standard's mainElement
Default date format support
format methods implementation