A unifying approach to abstract matrix algebra preconditioning