Markets rally: Benchmark indices close higher as realty stocks drive momentum