Implemented Rules State handling and moved rules expression interface to all use rules expressions.