Abstract Horn theories