Fix IF_EXISTS_IN rule to require then_actions

Planned code reuse had some side effects, reverting some changes
from 4de90a4.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>