With interest rates going up, buying real estate may be an even smarter move given how inflation will push rent prices higher.