Added tests for (?:www\.)\. and fixed mkRules.php accordingly