Thanks for the response Mattias, the code works perfectly but the real gem was the video, it was very valuable in getting to know some of the flow of CGA and how the various rules work together, some things just became clearer while I was watching it.
Sorry for my slow reply, other project pushed me away from CityEngine for a while but I was glad to get back at it and try out the code you supplied and experiment with the insites I learned from the video.
Thanks again.