public SigningViewModel(PackageReader reader)
        {
            _reader = reader;
            ReplaceSignature = _reader.GetRulesPropertyValueByName(Signing, "replace-signature") == "true";
            CompanyAttribute = reader.GetRulesByNameForSigning(Signing, "attributes", "company",false);
            DescriptionAttribute = reader.GetRulesByNameForSigning(Signing, "attributes", "description",false);
            ProductNameAttribute = reader.GetRulesByNameForSigning(Signing, "attributes", "product-name",false);
            ProductVersion = reader.GetRulesByNameForSigning(Signing, "attributes", "product-version",false);
            FileVersionAttribute = reader.GetRulesByNameForSigning(Signing, "attributes", "file-version",false);
            EditCollectionViewModel = new EditCollectionViewModel(reader, reader.GetRulesSourceValuesByNameForEditableCollections(Signing, "include"));
            IsEditable = false;
            IsReadOnly = true;

            SourceSigningViewModel = new SigningViewModel()
                                         {
                                             ReplaceSignature =
                                                 _reader.GetRulesSourcePropertyValueByName(Signing, "replace-signature") ==
                                                 "true",
                                             CompanyAttribute =
                                                 reader.GetRulesByNameForSigning(Signing,
                                                                                 "attributes",
                                                                                 "company", true),
                                             DescriptionAttribute =
                                                 reader.GetRulesByNameForSigning(Signing,
                                                                                 "attributes",
                                                                                 "description", true),
                                             ProductNameAttribute =
                                                 reader.GetRulesByNameForSigning(Signing,
                                                                                 "attributes",
                                                                                 "product-name", true),
                                             ProductVersion =
                                                 reader.GetRulesByNameForSigning(Signing,
                                                                                 "attributes",
                                                                                 "product-version", true),
                                             FileVersionAttribute =
                                                 reader.GetRulesByNameForSigning(Signing,
                                                                                 "attributes",
                                                                                 "file-version", true),
                                             EditCollectionViewModel = this.EditCollectionViewModel,
                                             IsEditable = true,
                                             IsReadOnly = false,
                                             IsSource = true,

                                         };

            SourceString = reader.GetRulesSourceStringPropertyValueByName(Signing);
            SourceSigningViewModel.PropertyChanged += EvaluatedChanged;
        }
        private void LoadData()
        {
            _reader = new PackageReader();
               _reader.Read(PathToFile);

            PackageViewModel = new PackageViewModel(_reader);
            MetadataViewModel = new MetadataViewModel(_reader);
            ManifestViewModel = new ManifestViewModel(_reader);
            RequiresViewModel = new RequiresViewModel(_reader);
            DefineViewModel = new DefineViewModel(_reader);
            SigningViewModel = new SigningViewModel(_reader);
            LicenseViewModel = new LicenseViewModel(_reader);
            CompatibilityPolicy = new CompatibilityPolicyViewModel(_reader);
            ApplicationRoleViewModel = new ApplicationRoleViewModel(_reader);
            AssemblyRoleViewModel = new AssemblyRoleViewModel(_reader);
            FilesViewModel = new FilesViewModel(_reader);
            //PackageCompositionViewModel = new PackageCompositionViewModel(_reader);
            //_allViewModels.Add(PackageViewModel);
        }