Conflict And Defense: A General Theory