Add a resource fit predicate.

Not linked into any scheduler yet.