(2)On a motion under paragraph (1), the court shall consider whether or not the intervention will unduly delay or prejudice the determination of the rights of the parties to the proceeding and the court may add the person as a party to the proceeding and may make such order as to pleadings, production and discovery and impose such conditions as to costs or otherwise as may be just.