allow for trait-based lookups of rates