Fixed the IndirectPreferAvoid and Reject filters

Imports and boolean -> bool
Added sdf2 filter support to the SDF2Importer
Made the indirect prefer avoid actually traverse the tree

@jurgenvinju or is this different then how SDF2 implements them?