(Reuters) - Private equity firm Hellman & Friedman has struck a deal to buy insurance software provider Applied Systems from Bain Capital for $1.8 billion, H&F said on Tuesday.