Hi himanshu_ranjan,
Rules are applied sequentially, so you could have a rule that says "if this is met then save" followed by a rule that discards everything that is left. The process is similar across both the Trap Viewer & Log Analyser although the steps are different.