Update rules.php