function AddIndexCommands()
    {
        $condition = new RewriteCondition('$1', '!^(index\\.php|files|phine|robots\\.txt)');
        $this->writer->AddContent($condition);
        
        $rule = new RewriteRule('(.*)$', 'index.php');
        $rule->AddFlag(new CommandFlag(FlagType::Qsa()));
        $rule->AddFlag(new CommandFlag(FlagType::L()));
        $this->writer->AddContent($rule);
    }