May be that the "extends" problem also comes from the fact that the rules are in separated files, and/or the order which they are given to the kbuilder (base rules must exists prior to rules exntending them).