}
  public Rate getRate(Asset asset, List params) {    Rate r = null;    if (params == null)      return r;    Double qty = (Double)params.get(0);    OrgActivity orgAct = (OrgActivity)params.get(1);    if (orgAct == null)      return r;    Double d = (Double) consumptionRates.get(orgAct.getActivityName());    if (d == null)      return r;    r = FlowRate.newGallonsPerDay (d.doubleValue()*qty.doubleValue());    return r;  }