Change categories when editing a rule

#165 
maybe this is neater:

```php
$field = (strpos($e->getMessage(), 'INVALID_ITEM') !== false) ? 'rule_id' : 'new_parent_id';

throw new \phpbb\boardrules\exception\out_of_bounds($field);
```