Law to regulate real estate sector