Add PatternBasedCondition and RegexCondition interfaces.
Add editors for rules.
"Import" cleanup.
Update packages.