Yeah the easiest way you can do is add a bunch of if statements for the commands to trigger.
Code:
on *:text:*:#: {
if $nick($chan,$nick,a,hrv) {
if ($1 == !rules1) {
;code here
}
if ($1 == !rules2) {
;code here
}
if ($1 == !websites) {
;code here
}
}
}