Fixed bug where no possible rules to apply