original_string: public function render_rules_link($ruleurl) {
          echo \html_writer::start_div();
          $a = \html_writer::link($ruleurl, get_string('managerules', 'tool_monitor'));
          $link = \html_writer::tag('span', get_string('manageruleslink', 'tool_monitor', $a));
          echo $link;
          echo \html_writer::end_div();
      }
code: public function render_rules_link($ruleurl) {
          echo \html_writer::start_div();
          $a = \html_writer::link($ruleurl, get_string('managerules', 'tool_monitor'));
          $link = \html_writer::tag('span', get_string('manageruleslink', 'tool_monitor', $a));
          echo $link;
          echo \html_writer::end_div();
      }
code_tokens: public function render_rules_link ( $ ruleurl ) { echo \ html_writer :: start_div ( ) ; $ a = \ html_writer :: link ( $ ruleurl , get_string ( 'managerules' , 'tool_monitor' ) ) ; $ link = \ html_writer :: tag ( 'span' , get_string ( 'manageruleslink' , 'tool_monitor' , $ a ) ) ; echo $ link ; echo \ html_writer :: end_div ( ) ; }
docstring: Html to add a link to go to the rule manager page.
  
  @param moodle_url $ruleurl The url of the rule manager page.
  
  @return string html for the link to the rule manager page.
docstring_tokens: Html to add a link to go to the rule manager page .