...
Routing rules are created in order to direct calls received from one interface, and bridge it out to the next interface.
SIP profiles or SIP trunks are used to bridge calls.
Routing rules can be as simple as bridging between trunks, or as complicated as choosing from a different carrier due to costs of routing.