Fixed common params overriding app specific ones

This fixes an issue most notable when specifying custom url rules in the app params.
The custom rules end up at the end of the rules list and hence never get processed due to the common ones being matched first.