added rule generator
Progress on population class