update declaration rules
implemented var declaration