Made the rules file load from classpath.

Made the rules file load from classpath.
Added config-file parameter to descriptor.