Removed unwanted code from rate_engine