Fix add rule