important!
1.in order to use Server Variables in the rewrite module we MUST add the variables we want to use to ALLOW mode
2.usually used for outbound rules
add Server Variables to ALLOW mode
* right pane -> (Manage server variables)view server variables
* add -> set the server variable name to add
using Server Variables(inbound)
* add Server Variables to ALLOW.

Define New Map:
rewrite maps are collection of rules (key value collection)
* in the right pane -> View Rewrite maps (manage providers)
* add rewrite map -> set map name
* add mapping entry -> set the original and the new values
notice! add as much entries as you need in the same way
Create New Rule and Attach it.

General:
* the rules are created in the web.config file of the site/folder
<system.webServer>
<rewrite>
<rules>
<rule />
<rule />
<rule />
</rules>
<outboundRules>
<rule />
<rule />
<rule />
</outboundRules>
</rewrite>
</system.webServer>
* recommendation - use stopProcessing="true" for each rule
this will stop the other rules check for the current request
* inbound rules are used for handling Requests and outbound rules are used for Responses
* saved variables:
we can use a lot.