Removed unecessary rulesConfig logic