public function setup()
	{
		$this->addRule('ip', function($data)
		{
			if (isset($data['ip']) && !Validate::ip($data['ip']))
			{
				return Lang::txt('Invalid IP address');
			}

			return false;
		});
	}