Create rule.php