Modified rule "maxfilesize". Added rule "fileextension"