add filtering rules for generated sumary