Added rules.php redirect