How to make redirect rules in a separate config file

Basically, web. config specifies the path to the file: 

<rewrite>
     <rules configsource="uploads\rewrite.config"></rules>
</rewrite>

In the rewrite settings file, we write the rules: 

<rules>
	<rule name="Redirect to http" patternsyntax="Wildcard" stopprocessing="true">
            <match url="*" negate="false"></match>
            <conditions logicalgrouping="MatchAny" trackallcaptures="false">
                  <add input="{HTTPS}" pattern="off"></add>
              </conditions>
            <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirecttype="Temporary"></action>
        </rule>
  <rule name="Robots" stopprocessing="true">
                    <match url="(.*)robots\.txt"></match>
                    <action type="Rewrite" url="/Controls/Resource/GetFile?code=robots"></action>
                </rule>
                <rule name="Sitemap.xml" stopprocessing="true">
                    <match url="(.*)sitemap\.xml"></match>
                    <action type="Rewrite" url="/Controls/Resource/GetFile?code=sitemap"></action>
                </rule>
 <rule name="Remove trailing slash" stopprocessing="true">
    <match url="(.*)/$"></match>
    <conditions logicalgrouping="MatchAll" trackallcaptures="false">
        <add input="{REQUEST_FILENAME}" matchtype="IsFile" negate="true"></add>
        <add input="{REQUEST_FILENAME}" matchtype="IsDirectory" negate="true"></add>
    </conditions>
    <action type="Redirect" url="{R:1}" redirecttype="Temporary"></action>
</rule>

 <rule name="LowerCaseURL" stopprocessing="true">
            <match url="[A-Z?-?]" ignorecase="false"></match>
            <conditions logicalgrouping="MatchAll">
                        <add input="{HTTP_X_Requested_With}" pattern="^XMLHttpRequest$" negate="true"></add>
                        <add input="{URL}" pattern="[?-?]" negate="true"></add>
            </conditions>
            <action type="Redirect" url="{ToLower:{URL}}"></action>
        </rule>
</rules>
Falcon Space is a functional web development platform on a narrow stack MS SQL/Bootstrap. Falcon Space Gettting started
{sp-shortDemostandLinks}

Falcon Space Platform

This is a reduction in the cost of ownership

at the expense of fewer people to support

This is a quick change

while using the program

This is a modern interface

full adaptation for mobile devices

Note