public function addFilterRule(string $field, string $value, $operator = null, int $crud = READRULES)
    {
        // if an existing rule is detected, over write
        $this->rules[$field] = new FilterRule($field, $value, $operator, $crud);
    }
public function addFilterRule(string $field, string $value, $operator = null, int $crud = READRULES)
    {
        // if an existing rule is detected, over write
        $this->rules[$field] = new FilterRule($field, $value, $operator, $crud);
    }
public function addFilterRule ( string $ field , string $ value , $ operator = null , int $ crud = READRULES ) { // if an existing rule is detected, over write $ this -> rules [ $ field ] = new FilterRule ( $ field , $ value , $ operator , $ crud ) ; }
add a filter rule into the store

@param string $field
@param string $value
@param string $operator
@param int $crud
add a filter rule into the store