Added adopt-rule and adopt-rules.