Remove mssql rule type and replace it with a helper function