Afghan clashes 'kill 22 rebels'