Create a Route for a given callback from a rule.
rule |
compiled down ot a regular expression and captures all paths if set to 'null' |
types |
type mapping to figure out types in rule or 'null' to prevent any form of typing |