This is stuff for OpenXcom mods some day there will be a forum link and a github link?
import your rulfile
(Select your Base)
Click
Download/see result