store WeakRefs for rate and resource and removed possibility to delete rates and resources