added class resolution to naming rules. changed containment resolution api signatures.

Signed-off-by: dvorkinista <villain@noironetworks.com>