rating directive with more of a template approach