added missing @mode on classes and modified some schematron constraints