Network Selection And Rate Allocation In Heterogeneous Wireless Networks And Systems