Simple implementation of ActionChooser's "Add rule" checkbox.
Update the result protocol to accomodate it.
Start of the rules database.