Added rules generation (configurable builddir)