FIXED: Scheme argument added to more rules, supporting scheme-specific default ports.