(A) Joinder of offenses. Two or more offenses may be charged in the same indictment, information or complaint in a separate count for each offense if the offenses charged, whether felonies or misdemeanors or both, are of the same or similar character, or are based on the same act or transaction, or are based on two or more acts or transactions connected together or constituting parts of a common scheme or plan, or are part of a course of criminal conduct.(B) Joinder of defendants. Two or more defendants may be charged in the same indictment, information or complaint if they are alleged to have participated in the same act or transaction or in the same series of acts or transactions constituting an offense or offenses, or in the same course of criminal conduct. Such defendants may be charged in one or more counts together or separately, and all of the defendants need not be charged in each count.