1)modified rule 4 to check if the select condition represents a join condition.