public function setRules($input)
	{
		if ($input instanceof \Hubzero\Access\Rules)
		{
			$this->_rules = $input;
		}
		else
		{
			$this->_rules = new \Hubzero\Access\Rules($input);
		}
	}
public function setRules($input)
	{
		if ($input instanceof \Hubzero\Access\Rules)
		{
			$this->_rules = $input;
		}
		else
		{
			$this->_rules = new \Hubzero\Access\Rules($input);
		}
	}
public function setRules ( $ input ) { if ( $ input instanceof \ Hubzero \ Access \ Rules ) { $ this -> _rules = $ input ; } else { $ this -> _rules = new \ Hubzero \ Access \ Rules ( $ input ) ; } }
Method to set rules for the record.

@param   mixed  $input  A Hubzero\Access\Rules object, JSON string, or array.
@return  void
@since   2.1.12
Method to set rules for the record .