Made  static. Fixed validate() method usage of  so it calls static  variable.

The `$rule` attribute is now static.  To make sure validate uses this static attribute, I changed references to `$this->rules` to `static::$rules`