while(list($_rank,$_rid,$_flags,$_name) = mysql_fetch_row($sql)) {
$this->rules[$_rid] = new Rule($_rank,$_flags,$_name);
$this->rules[$_rid]->sql_get_matches($_uid,$_rid);
while(list($_rank,$_rid,$_flags,$_name) = mysql_fetch_row($sql)) {
$this->rules[$_rid] = new Rule($_rank,$_flags,$_name);
$this->rules[$_rid]->sql_get_matches($_uid,$_rid);