Your class profile isn’t technically a redirect, but it may be interfering with the logic of the iRule nonetheless. So based on the iRule you’re using, you have an HTTP VIP and an HTTPS VIP. By virtue of the iRule, ANY request to the HTTP VIP will be redirected to the HTTPS VIP. So if you apply the HTTPS redirect iRule ONLY to the HTTP VIP, and the class profile ONLY to the HTTPS VIP, then you shouldn’t have any conflicts.