added extension method for setting a comment on a rule