 RLI Corp. is underperforming the overall market since the beginning of the year, while the company recorded solid first-quarter results. Investors might be tempted to invest in this dividend aristocrat, which has rewarded its shareholders over four decades. 