Fixed bug where a new Rule class that has an object rule within it's rule would be instantiated with the root Rule instead of the extended Rule class