getting projects out of the rules file
NB this is left over from Iains powershell platform build the rules should be a json file