I'm guessing that would look like:
```
public function delete_rule($rule_id)
{
	if (confirm_box(true))
	{
		$this->rule_operator->delete_rule($rule_id);
	}
	else
	{
		confirm_box(false, $this->user->lang('CONFIRM_OPERATION'), build_hidden_fields(array(	
			'action'	=> 'delete',
			'rule_id'	=> $rule_id,))
		);
	}
}
```