rule.php edit