public function edit(type $timeruleid, type $threshold1, type $threshold2, type $speed )
$timeruleid
$threshold1
$threshold2
$speed