Update AddRule.cs

Basic Authentication updates...