Initial implementation of actiongroups and rulegroups. **EXPERIMENTAL**