Ackman says followed the rules with Allergan investment