Dividing software patents into 'good' and 'bad' is not really a game worth playing. The legal system or the patent office cannot make such value judgements. They can only deal with clear rules such as 'programs for computers are not patentable', and sometimes manage to mess up even that (see the EPO).