Small Bugfix for rules