rule inheritance