simplfy hosts_list template by adding get_rules_for_host() to the Host model