updated templating chapter for Rubist