build tree rule and target format list
build tree rule and target format list