revise rebuilding rules