fixing conditions array https://github.com/fago/rules/pull/105#discussion-diff-16540926