Minor bugfix when a rule doesn't exist.
Signed-off-by: John Hamelink <john@johnhamelink.com>