diff --git a/source/administrator/components/com_jedchecker/libraries/rules/xmllicense.php b/source/administrator/components/com_jedchecker/libraries/rules/xmllicense.php
new file mode 100644
index 00000000..9287dbb1
--- /dev/null
+++ b/source/administrator/components/com_jedchecker/libraries/rules/xmllicense.php
@@ -0,0 +1,97 @@
+missing = array();
+ $files = JFolder::files($basedir, '.xml$', true, true);
+
+ // Iterate through all files in the package
+ foreach ($files as $file)
+ {
+ // Try to find the license in the file
+ if (!$this->find($file)) {
+ $this->missing[] = $file;
+ }
+ }
+
+
+ echo ''.JText::_('COM_JEDCHECKER_RULE_PH3') .'
';
+
+ // Echo all files which failed the check
+ if (count($this->missing)) {
+ foreach ($this->missing AS $file)
+ {
+ echo $file.'
';
+ }
+ }
+ else {
+ echo ''.JText::_('COM_JEDCHECKER_EVERYTHING_SEEMS_TO_BE_FINE_WITH_THAT_RULE').'';
+ }
+
+ }
+
+
+ /**
+ * Reads a file and searches for the license
+ *
+ * @param string $file The path to the file
+ * @return boolean True if the license was found, otherwise False.
+ */
+ protected function find($file)
+ {
+ $xml = JFactory::getXML($file);
+
+ // Failed to parse the xml file.
+ // Assume that this is not a extension manifest
+ if (!$xml) return true;
+
+ // Check if this is an extension manifest
+ // 1.5 uses 'install', 1.6 uses 'extension'
+ if ($xml->getName() != 'install' && $xml->getName() != 'extension')
+ {
+ return true;
+ }
+
+ // Check if there's a license tag
+ if (!isset($xml->license)) return false;
+
+ // Check if the license is gpl
+ if (stripos($xml->license, 'gpl') === false &&
+ stripos($xml->license, 'general public license') === false)
+ {
+ return false;
+ }
+
+
+ // All checks passed. Return true
+ return true;
+ }
+}
diff --git a/source/administrator/components/com_jedchecker/views/uploads/tmpl/default.php b/source/administrator/components/com_jedchecker/views/uploads/tmpl/default.php
index 8b998ce8..d754d0d4 100644
--- a/source/administrator/components/com_jedchecker/views/uploads/tmpl/default.php
+++ b/source/administrator/components/com_jedchecker/views/uploads/tmpl/default.php
@@ -109,6 +109,12 @@
+
+
+