add workloadsummary rewrite rule