Change how rules are managed

Minor fix for 'is not' to work