Rules for Koschei state change and groups

Add rules for filtering koschei.package.state.change and filtering based on package groups