This commit removes a ton of dead code from FeatureBoolean. It might been ported here from the Link branch but it is not used and it is confusing. The reason for having that code here is also not really obvious so there is no reason to keep it.