Rational expectation means that if people are rational when anticipating an economic phenomenon, they will make full use of the information they get to take action without making systematic mistakes.
Lao Liu immediately bought a house nearby, because it was rumored that a key middle school branch would be built in the south of the city is a rational expectation according to the above definition.