Sum Rules in Extended RPA Theories