Remaking rom.zip from RUU?

view story

http://forum.xda-developers.com – Hello to all users xda! I have a question to experts create custom rom. I have a rom.zip taken from RUU_Legend_Froyo_S_HTC_WWE_3.15.405.6_Radio_47.51. 35.17_7.13.35.05_release_222317_signed.exe. Installed it's Rom on my legend and rooted, added; Superuser,ROM Manager. Then pulled system.img and boot.img. Now I want to replace the files in the original rom.zip: system.img, boot.img, recovery.img and radio.img. I do not know how to make such an archive. Tried to pack through dsixda's Android Kitchen in HBOOT not flashing. And when i'm try via to command flash fastboot i get an error: Code: (HowTos)