This module adds products to categories dynamically, based on their attributes and certain configurable rules.
Download or clone on Github: https://github.com/firegento/firegento-dynamiccategory