Conditioning and learning within rule-based default hierarchies