add rule on dom namespace