update cocos_2d files generate rules