fix up vector legend for no geometries and set layer and rule titles