Hello everybody...I've started recently working with BIRT and run into my first real challenge

. I'm hoping that some seniors in the area can give me an easy solution.
Here it is...i have attached an example of the input data; the big challenge is to remove the lines 5 and 6 (the idea is that if i have two lines with columns A, B, D identical but one with "General" in column E and one with a value, i need to remove the "General" one - in a few words, specific configuration overwrites the generic one)
I was thinking to put a hidden column with a flag...0 and 1...and the script inside the column to mark the lines to be deleted with 1; then with a filter is easy. I just don't manage to make the script for this column.
Hope you have a clue for me. Thanks