expose interface for defining new rules at runtime without fs access

As discussed in https://github.com/nzakas/eslint/pull/194#issuecomment-22075777.